import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from 'uview-ui';

import store from './store/index.js'
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

//接口 this.api
import api from '@/api/driverapi.js'
Vue.prototype.api = api;

import {api_1} from '@/api/driverapi.js'
Vue.prototype.api_1 = api_1;
//
import {myRequest} from "./api/nvuerequest"
Vue.prototype.$http=myRequest 

import {myRequest_1} from "./api/nvuerequest"
Vue.prototype.$http_1=myRequest_1 

